<template>
  <p style="font-weight:800;">EchartsStart组件(Echarts_01)</p>
  <v-chart class="chart" :option="option" />
</template>

<script setup>
import { ref } from "vue";

const option = ref({
  xAxis: {
    type: 'category',
    data: ['A', 'B', 'C', 'D', 'E', 'F', 'G',],
  },
  yAxis: {
    type: 'value'
  },
  series: [
    {
      data: [110, 66, 98, 56, 35, 251, 121,],
      type: 'line'
    }
  ]
});

</script>

<style lang="css" scoped>
.chart {
  height: 400px;
}
</style>